package com.cnspt.serviceImpl;

import com.cnspt.models.Users;
import com.cnspt.repository.UsersRepository;
import com.cnspt.services.UserService;
import org.springframework.beans.factory.annotation.Autowired;

public class UserServiceImpl implements UserService {
    @Autowired
    private UsersRepository usersRepository;

    public Users getUserById(int id) {
        return usersRepository.getUserById(id);
    }
}
